home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / inc / human.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  547b  |  24 lines

  1. #ifndef __HUMAN_HPP_
  2. #define __HUMAN_HPP_
  3. #include "objects.hpp"
  4. #include "ability.hpp"
  5.  
  6. class human : public game_object
  7. {
  8.  
  9. public :  
  10.   human(long X, long Y) { defaults(); x=X; y=Y; }
  11.   human(FILE *fp, unsigned char *state_remap) { load(fp,state_remap); }
  12.   virtual int size() { return game_object::size(); }
  13.   virtual game_objects type() { return O_human; }
  14.   virtual void do_damage(int amount, game_object *from);
  15.   virtual int move(int cx, int cy, int button);  // return false if the route is blocked
  16. } ;
  17.  
  18. #endif
  19.  
  20.  
  21.  
  22.  
  23.  
  24.